<!DOCTYPE html><html><head>
      <title>doc</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      
      <link rel="stylesheet" href="file:///c:\Users\86354\.vscode\extensions\shd101wyy.markdown-preview-enhanced-0.6.8\node_modules\@shd101wyy\mume\dependencies\katex\katex.min.css">
      
      
      
      
      
      
      
      
      
      <style>
      /**
 * prism.js Github theme based on GitHub's theme.
 * @author Sam Clarke
 */
code[class*="language-"],
pre[class*="language-"] {
  color: #333;
  background: none;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.4;

  -moz-tab-size: 8;
  -o-tab-size: 8;
  tab-size: 8;

  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
  padding: .8em;
  overflow: auto;
  /* border: 1px solid #ddd; */
  border-radius: 3px;
  /* background: #fff; */
  background: #f5f5f5;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal;
  background: #f5f5f5;
}

.token.comment,
.token.blockquote {
  color: #969896;
}

.token.cdata {
  color: #183691;
}

.token.doctype,
.token.punctuation,
.token.variable,
.token.macro.property {
  color: #333;
}

.token.operator,
.token.important,
.token.keyword,
.token.rule,
.token.builtin {
  color: #a71d5d;
}

.token.string,
.token.url,
.token.regex,
.token.attr-value {
  color: #183691;
}

.token.property,
.token.number,
.token.boolean,
.token.entity,
.token.atrule,
.token.constant,
.token.symbol,
.token.command,
.token.code {
  color: #0086b3;
}

.token.tag,
.token.selector,
.token.prolog {
  color: #63a35c;
}

.token.function,
.token.namespace,
.token.pseudo-element,
.token.class,
.token.class-name,
.token.pseudo-class,
.token.id,
.token.url-reference .token.variable,
.token.attr-name {
  color: #795da3;
}

.token.entity {
  cursor: help;
}

.token.title,
.token.title .token.punctuation {
  font-weight: bold;
  color: #1d3e81;
}

.token.list {
  color: #ed6a43;
}

.token.inserted {
  background-color: #eaffea;
  color: #55a532;
}

.token.deleted {
  background-color: #ffecec;
  color: #bd2c00;
}

.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}


/* JSON */
.language-json .token.property {
  color: #183691;
}

.language-markup .token.tag .token.punctuation {
  color: #333;
}

/* CSS */
code.language-css,
.language-css .token.function {
  color: #0086b3;
}

/* YAML */
.language-yaml .token.atrule {
  color: #63a35c;
}

code.language-yaml {
  color: #183691;
}

/* Ruby */
.language-ruby .token.function {
  color: #333;
}

/* Markdown */
.language-markdown .token.url {
  color: #795da3;
}

/* Makefile */
.language-makefile .token.symbol {
  color: #795da3;
}

.language-makefile .token.variable {
  color: #183691;
}

.language-makefile .token.builtin {
  color: #0086b3;
}

/* Bash */
.language-bash .token.keyword {
  color: #0086b3;
}

/* highlight */
pre[data-line] {
  position: relative;
  padding: 1em 0 1em 3em;
}
pre[data-line] .line-highlight-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  display: block;
  width: 100%;
}

pre[data-line] .line-highlight {
  position: absolute;
  left: 0;
  right: 0;
  padding: inherit 0;
  margin-top: 1em;
  background: hsla(24, 20%, 50%,.08);
  background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
  pointer-events: none;
  line-height: inherit;
  white-space: pre;
}

pre[data-line] .line-highlight:before, 
pre[data-line] .line-highlight[data-end]:after {
  content: attr(data-start);
  position: absolute;
  top: .4em;
  left: .6em;
  min-width: 1em;
  padding: 0 .5em;
  background-color: hsla(24, 20%, 50%,.4);
  color: hsl(24, 20%, 95%);
  font: bold 65%/1.5 sans-serif;
  text-align: center;
  vertical-align: .3em;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 1px white;
}

pre[data-line] .line-highlight[data-end]:after {
  content: attr(data-end);
  top: auto;
  bottom: .4em;
}html body{font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;font-size:16px;line-height:1.6;color:#333;background-color:#fff;overflow:initial;box-sizing:border-box;word-wrap:break-word}html body>:first-child{margin-top:0}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{line-height:1.2;margin-top:1em;margin-bottom:16px;color:#000}html body h1{font-size:2.25em;font-weight:300;padding-bottom:.3em}html body h2{font-size:1.75em;font-weight:400;padding-bottom:.3em}html body h3{font-size:1.5em;font-weight:500}html body h4{font-size:1.25em;font-weight:600}html body h5{font-size:1.1em;font-weight:600}html body h6{font-size:1em;font-weight:600}html body h1,html body h2,html body h3,html body h4,html body h5{font-weight:600}html body h5{font-size:1em}html body h6{color:#5c5c5c}html body strong{color:#000}html body del{color:#5c5c5c}html body a:not([href]){color:inherit;text-decoration:none}html body a{color:#08c;text-decoration:none}html body a:hover{color:#00a3f5;text-decoration:none}html body img{max-width:100%}html body>p{margin-top:0;margin-bottom:16px;word-wrap:break-word}html body>ul,html body>ol{margin-bottom:16px}html body ul,html body ol{padding-left:2em}html body ul.no-list,html body ol.no-list{padding:0;list-style-type:none}html body ul ul,html body ul ol,html body ol ol,html body ol ul{margin-top:0;margin-bottom:0}html body li{margin-bottom:0}html body li.task-list-item{list-style:none}html body li>p{margin-top:0;margin-bottom:0}html body .task-list-item-checkbox{margin:0 .2em .25em -1.8em;vertical-align:middle}html body .task-list-item-checkbox:hover{cursor:pointer}html body blockquote{margin:16px 0;font-size:inherit;padding:0 15px;color:#5c5c5c;background-color:#f0f0f0;border-left:4px solid #d6d6d6}html body blockquote>:first-child{margin-top:0}html body blockquote>:last-child{margin-bottom:0}html body hr{height:4px;margin:32px 0;background-color:#d6d6d6;border:0 none}html body table{margin:10px 0 15px 0;border-collapse:collapse;border-spacing:0;display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}html body table th{font-weight:bold;color:#000}html body table td,html body table th{border:1px solid #d6d6d6;padding:6px 13px}html body dl{padding:0}html body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}html body dl dd{padding:0 16px;margin-bottom:16px}html body code{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:.85em !important;color:#000;background-color:#f0f0f0;border-radius:3px;padding:.2em 0}html body code::before,html body code::after{letter-spacing:-0.2em;content:"\00a0"}html body pre>code{padding:0;margin:0;font-size:.85em !important;word-break:normal;white-space:pre;background:transparent;border:0}html body .highlight{margin-bottom:16px}html body .highlight pre,html body pre{padding:1em;overflow:auto;font-size:.85em !important;line-height:1.45;border:#d6d6d6;border-radius:3px}html body .highlight pre{margin-bottom:0;word-break:normal}html body pre code,html body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}html body pre code:before,html body pre tt:before,html body pre code:after,html body pre tt:after{content:normal}html body p,html body blockquote,html body ul,html body ol,html body dl,html body pre{margin-top:0;margin-bottom:16px}html body kbd{color:#000;border:1px solid #d6d6d6;border-bottom:2px solid #c7c7c7;padding:2px 4px;background-color:#f0f0f0;border-radius:3px}@media print{html body{background-color:#fff}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{color:#000;page-break-after:avoid}html body blockquote{color:#5c5c5c}html body pre{page-break-inside:avoid}html body table{display:table}html body img{display:block;max-width:100%;max-height:100%}html body pre,html body code{word-wrap:break-word;white-space:pre}}.markdown-preview{width:100%;height:100%;box-sizing:border-box}.markdown-preview .pagebreak,.markdown-preview .newpage{page-break-before:always}.markdown-preview pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}.markdown-preview pre.line-numbers>code{position:relative}.markdown-preview pre.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-preview pre.line-numbers .line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.markdown-preview pre.line-numbers .line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.markdown-preview .mathjax-exps .MathJax_Display{text-align:center !important}.markdown-preview:not([for="preview"]) .code-chunk .btn-group{display:none}.markdown-preview:not([for="preview"]) .code-chunk .status{display:none}.markdown-preview:not([for="preview"]) .code-chunk .output-div{margin-bottom:16px}.markdown-preview .md-toc{padding:0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link p,.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link div{display:inline}.markdown-preview .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}.scrollbar-style::-webkit-scrollbar{width:8px}.scrollbar-style::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.scrollbar-style::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode]){position:relative;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow:auto}html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{position:relative;top:0}@media screen and (min-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em calc(50% - 457px + 2em)}}@media screen and (max-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{font-size:14px !important;padding:1em}}@media print{html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{display:none}}html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{position:fixed;bottom:8px;left:8px;font-size:28px;cursor:pointer;color:inherit;z-index:99;width:32px;text-align:center;opacity:.4}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] #sidebar-toc-btn{opacity:1}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc{position:fixed;top:0;left:0;width:300px;height:100%;padding:32px 0 48px 0;font-size:14px;box-shadow:0 0 4px rgba(150,150,150,0.33);box-sizing:border-box;overflow:auto;background-color:inherit}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar{width:8px}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc a{text-decoration:none}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc{padding:0 16px}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link p,html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link div{display:inline}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{left:300px;width:calc(100% -  300px);padding:2em calc(50% - 457px -  300px/2);margin:0;box-sizing:border-box}@media screen and (max-width:1274px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{width:100%}}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .markdown-preview{left:50%;transform:translateX(-50%)}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .md-sidebar-toc{display:none}
/* Please visit the URL below for more information: */
/*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

      </style>
    </head>
    <body for="html-export">
      <div class="mume markdown-preview  ">
      <h3 class="mume-header" id="myviewercfg">MyViewer(cfg)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x521D;&#x59CB;&#x5316;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-const">const</span> bimViewer <span class="token operator">=</span> <span class="token keyword keyword-new">new</span> <span class="token class-name">MyViewer</span><span class="token punctuation">(</span> <span class="token punctuation">{</span>
     <span class="token comment">//&#x4EE5;&#x4E0B;&#x4F20;&#x5165;dom id&#x6309;&#x4F7F;&#x7528;&#x60C5;&#x51B5;&#x4F20;&#x5165;</span>
     serverUrl<span class="token operator">:</span> <span class="token string">&apos;http://192.168.1.38:9000&apos;</span><span class="token punctuation">,</span>
containerElement<span class="token operator">:</span> <span class="token dom variable">document</span><span class="token punctuation">.</span><span class="token method function property-access">getElementById</span><span class="token punctuation">(</span><span class="token string">&apos;container&apos;</span><span class="token punctuation">)</span><span class="token punctuation">,</span> <span class="token comment">// WebGL canvas</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">cfg</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">cfg.serverUrl</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x670D;&#x52A1;&#x5730;&#x5740;,&#x4F7F;&#x7528;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x65F6;&#x4F7F;&#x7528;&#x76F8;&#x5BF9;&#x8DEF;&#x5F84;</td>
</tr>
<tr>
<td style="text-align:center">cfg.containerElement</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x753B;&#x5E03;&#x5BB9;&#x5668;dom</td>
</tr>
<tr>
<td style="text-align:center">cfg.containerId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x753B;&#x5E03;&#x5BB9;&#x5668;id,&#x4E0E;containerElement&#x4E8C;&#x9009;&#x4E00;</td>
</tr>
<tr>
<td style="text-align:center">cfg.localeService</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&apos;ch&apos;</td>
<td style="text-align:center">&#x8BED;&#x8A00;&#x670D;&#x52A1;,&#x53EF;&#x9009;&#x503C;&apos;ch&apos;,&apos;en&apos;,&apos;de&apos;,&apos;fr&apos;,&apos;pl&apos;</td>
</tr>
<tr>
<td style="text-align:center">cfg.toolbarVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x5DE5;&#x5177;&#x680F;</td>
</tr>
<tr>
<td style="text-align:center">cfg.navCubeVisible</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x5BFC;&#x822A;&#x7ACB;&#x65B9;&#x4F53;</td>
</tr>
<tr>
<td style="text-align:center">cfg.axisVisible</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x5750;&#x6807;&#x8F74;</td>
</tr>
<tr>
<td style="text-align:center">cfg.nodeVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x8282;&#x70B9;&#x6811;&#xFF0C;&#x53EA;&#x652F;&#x6301;&#x6709;&#x8282;&#x70B9;&#x6811;&#x7684;&#x6A21;&#x578B;</td>
</tr>
<tr>
<td style="text-align:center">cfg.typesVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x7C7B;&#x578B;&#x6811;</td>
</tr>
<tr>
<td style="text-align:center">cfg.stroysVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x56FE;&#x5C42;&#x6811;,&#x53EA;&#x652F;&#x6301;&#x6709;&#x56FE;&#x5C42;&#x6811;&#x7684;&#x6A21;&#x578B;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setallmodeltransparencyopacity">setAllModelTransparency(opacity)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5168;&#x5C40;&#x900F;&#x660E;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">opacity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x900F;&#x660E;&#x5EA6;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getcamera">getCamera()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x5F53;&#x524D;&#x76F8;&#x673A;&#x89C6;&#x89D2;&#x4FE1;&#x606F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getCamera</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x76F8;&#x673A;&#x89C6;&#x89D2;&#x4FE1;&#x606F;</p>
<h3 class="mume-header" id="setfrontview">setFrontView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x524D;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setFrontView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="setbackview">setBackView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x540E;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setBackView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="settopview">setTopView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x9876;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setTopView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="setbottomview">setBottomView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x5E95;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setBottomView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="setleftview">setLeftView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x5DE6;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setLeftView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="setrightview">setRightView()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x53F3;&#x89C6;&#x56FE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setRightView</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="setaxisvisiblevisible">setAxisVisible(visible)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5750;&#x6807;&#x8F74;&#x662F;&#x5426;&#x53EF;&#x89C1;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setAxisVisible</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">visible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x53EF;&#x89C1;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="spacepointtowindowpositionspacepoint">spacePointToWindowPosition(spacePoint)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x4E09;&#x7EF4;&#x70B9;&#x8F6C;&#x5C4F;&#x5E55;&#x5750;&#x6807;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">spacePointToWindowPosition</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token number">2</span><span class="token punctuation">,</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">spacePoint</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x4E09;&#x7EF4;&#x70B9;&#x5750;&#x6807;[x,y,z]</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6210;&#x529F;&#x8FD4;&#x56DE;&#x5C4F;&#x5E55;&#x5750;&#x6807;[x,y]</p>
<h3 class="mume-header" id="setfarestzoomdistancedistance">setFarestZoomDistance(distance)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6700;&#x8FDC;&#x7F29;&#x653E;&#x8DDD;&#x79BB;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setFarestZoomDistance</span><span class="token punctuation">(</span><span class="token number">1000</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">distance</td>
<td style="text-align:center">Number</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6700;&#x8FDC;&#x7F29;&#x653E;&#x8DDD;&#x79BB;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x5931;&#x8D25;&#x8FD4;&#x56DE;-1</p>
<h3 class="mume-header" id="cancelsetfarestzoomdistance">cancelSetFarestZoomDistance()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x53D6;&#x6D88;&#x8BBE;&#x7F6E;&#x6700;&#x8FDC;&#x7F29;&#x653E;&#x8DDD;&#x79BB;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">cancelSetFarestZoomDistance</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="getcurrentzoomdistance">getCurrentZoomDistance()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x5F53;&#x524D;&#x7F29;&#x653E;&#x8DDD;&#x79BB;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getCurrentZoomDistance</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x5F53;&#x524D;&#x7F29;&#x653E;&#x8DDD;&#x79BB;</p>
<h3 class="mume-header" id="setbackgroundcolorcolor">setBackgroundColor(color)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6A21;&#x578B;&#x80CC;&#x666F;&#x8272;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setBackgroundColor</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">255</span><span class="token punctuation">,</span><span class="token number">255</span><span class="token punctuation">,</span><span class="token number">255</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x80CC;&#x666F;&#x8272;rgb&#x503C;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setpivotelementdomstring">setPivotElement(domString)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x66F4;&#x6539;&#x65CB;&#x8F6C;&#x7126;&#x70B9;&#x6837;&#x5F0F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setPivotElement</span><span class="token punctuation">(</span><span class="token template-string"><span class="token template-punctuation string">`</span><span class="token string">&lt;div class=&apos;xeokit-camera-pivot-marker&apos;&gt;&lt;/div&gt;</span><span class="token template-punctuation string">`</span></span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">domString</td>
<td style="text-align:center">string</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x65CB;&#x8F6C;&#x7126;&#x70B9;dom&#x5B57;&#x7B26;&#x4E32;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidshighlightcolorcoloralpha">setSolidsHighlightColor(color,alpha)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x9AD8;&#x4EAE;&#x586B;&#x5145;&#x989C;&#x8272;,Alpha&#x503C;,&#x662F;&#x5426;&#x663E;&#x793A;&#x9AD8;&#x4EAE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidsHighlightColor</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">255</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token number">0.5</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x9AD8;&#x4EAE;rgb&#x989C;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">alpha</td>
<td style="text-align:center">Number</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x9AD8;&#x4EAE;&#x900F;&#x660E;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">show</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x9AD8;&#x4EAE;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="resethighlightmaterialfill">resetHighlightMaterialFill()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6062;&#x590D;&#x9ED8;&#x8BA4;&#x9AD8;&#x4EAE;&#x989C;&#x8272;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">resetHighlightMaterialFill</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="sethighlightmaterialedgescoloralphashow">setHighlightMaterialEdges(color,alpha,show)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x9AD8;&#x4EAE;&#x8FB9;&#x6846;&#x989C;&#x8272;,Alpha&#x503C;,&#x662F;&#x5426;&#x663E;&#x793A;&#x9AD8;&#x4EAE;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setHighlightMaterialEdges</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">255</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token number">0.5</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x9AD8;&#x4EAE;rgb&#x989C;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">alpha</td>
<td style="text-align:center">Number</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x9AD8;&#x4EAE;&#x900F;&#x660E;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">show</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x9AD8;&#x4EAE;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="locationbyididcallback">locationById(id,callback)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6839;&#x636E;id&#x5B9A;&#x4F4D;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">locationById</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token string">&apos;0LKJKCHUL1kBtnlFXddz6a&apos;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token arrow operator">=&gt;</span><span class="token punctuation">{</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">ids</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
<tr>
<td style="text-align:center">callback</td>
<td style="text-align:center">Function</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5B9A;&#x4F4D;&#x5B8C;&#x6210;&#x56DE;&#x8C03;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="zoombypositionpositioncallback">zoomByPosition(position,callback)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6839;&#x636E;&#x4F4D;&#x7F6E;&#x5B9A;&#x4F4D;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">locationByPosition</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token arrow operator">=&gt;</span><span class="token punctuation">{</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">position</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x4F4D;&#x7F6E;</td>
</tr>
<tr>
<td style="text-align:center">callback</td>
<td style="text-align:center">Function</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5B9A;&#x4F4D;&#x5B8C;&#x6210;&#x56DE;&#x8C03;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="highlightbyididsishighlight">highlightById(ids,isHighLight)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6839;&#x636E;id&#x9AD8;&#x4EAE;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">highlightById</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token string">&apos;0LKJKCHUL1kBtnlFXddz6a&apos;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">ids</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
<tr>
<td style="text-align:center">isHighLight</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x9AD8;&#x4EAE;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setcubevisbleshow">setCubeVisble(show)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x663E;&#x793A;&#x9690;&#x85CF;cube</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setCubeVisble</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">show</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="resetmodel">resetModel()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x91CD;&#x7F6E;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">resetModel</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="get3denabled2">get3DEnabled2()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x67E5;&#x770B;&#x5668;&#x662F;&#x5904;&#x4E8E;&#x4E09;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#x8FD8;&#x662F;&#x4E8C;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#x3002;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">get3DEnabled2</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>true &#x4E09;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#xFF0C;false &#x4E8C;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;</p>
<h3 class="mume-header" id="set3denabled2is3d">set3DEnabled2(is3D)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x67E5;&#x770B;&#x5668;&#x662F;&#x5904;&#x4E8E;&#x4E09;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#x8FD8;&#x662F;&#x4E8C;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#x3002;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">set3DEnabled2</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">is3D</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">true &#x4E09;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;&#xFF0C;false &#x4E8C;&#x7EF4;&#x67E5;&#x770B;&#x6A21;&#x5F0F;</td>
</tr>
<tr>
<td style="text-align:center">callback</td>
<td style="text-align:center">Function</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x56DE;&#x8C03;&#x51FD;&#x6570;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidsvisibilityobjectidsvisible">setSolidsVisibility(objectIds,visible)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x53EF;&#x89C1;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidsVisibility</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token string">&apos;0LKJKCHUL1kBtnlFXddz6a&apos;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token boolean">false</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectIds</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
<tr>
<td style="text-align:center">visible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x53EF;&#x89C1;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="isolatesolidsidtag">isolateSolids(id,tag)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9694;&#x79BB;&#x6784;&#x4EF6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">isolateSolids</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
<tr>
<td style="text-align:center">tag</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x9694;&#x79BB;true&#x9694;&#x79BB;false&#x53D6;&#x6D88;&#x9694;&#x79BB;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidsopacityobjectidopacity">setSolidsOpacity(objectId,opacity)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x900F;&#x660E;&#x5EA6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidsOpacity</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token number">0.5</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
<tr>
<td style="text-align:center">opacity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x900F;&#x660E;&#x5EA6;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="resetsolidsopacityid">resetSolidsOpacity(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x91CD;&#x7F6E;&#x5BF9;&#x8C61;&#x900F;&#x660E;&#x5EA6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">resetSolidsOpacity</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>-1 &#x672A;&#x627E;&#x5230;&#x5BF9;&#x8C61;</p>
<h3 class="mume-header" id="setsolidcolorobjectidcolor">setSolidColor(objectId,color)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x989C;&#x8272;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidColor</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token punctuation">[</span><span class="token number">255</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">,</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
<tr>
<td style="text-align:center">color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x989C;&#x8272;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="resetsolidscolorid">resetSolidsColor(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x91CD;&#x7F6E;&#x5BF9;&#x8C61;&#x989C;&#x8272;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">resetSolidColor</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>-1 &#x672A;&#x627E;&#x5230;&#x5BF9;&#x8C61;</p>
<h3 class="mume-header" id="setobjectsselected2objectidsselected">setObjectsSelected2(objectIds,selected)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x88AB;&#x9009;&#x4E2D;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setObjectsSelected2</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token string">&apos;0LKJKCHUL1kBtnlFXddz6a&apos;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectIds</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
<tr>
<td style="text-align:center">selected</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x88AB;&#x9009;&#x4E2D;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setobjectsxrayed2objectidsxrayed">setObjectsXRayed2(objectIds,xrayed)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x662F;&#x5426;xrayed</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setObjectsXRayed2</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token string">&apos;0LKJKCHUL1kBtnlFXddz6a&apos;</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectIds</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
<tr>
<td style="text-align:center">highlighted</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;xrayed</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getsolidpropertyobjectid">getSolidProperty(objectId)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x5BF9;&#x8C61;&#x5C5E;&#x6027;&#x4FE1;&#x606F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidProperty</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5BF9;&#x8C61;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x8FD4;&#x56DE;&#x5BF9;&#x8C61;&#x5C5E;&#x6027;&#x4FE1;&#x606F;</p>
<h3 class="mume-header" id="selectstorey2storeyobjectiddone">selectStorey2(storeyObjectId,done)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5C06;&#x67E5;&#x770B;&#x5668;&#x8FC7;&#x6E21;&#x5230;&#x7ED9;&#x5B9A;&#x5EFA;&#x7B51;&#x697C;&#x5C42;&#x7684;&#x72EC;&#x7ACB;&#x89C6;&#x56FE;&#x3002;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">selectStorey2</span><span class="token punctuation">(</span><span class="token string">&apos;2cgXCjpDT0ZxBvxMSr3pfm&apos;</span><span class="token punctuation">,</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token arrow operator">=&gt;</span><span class="token punctuation">{</span>

<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">storeyObjectId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5EFA;&#x7B51;&#x697C;&#x5C42;id</td>
</tr>
<tr>
<td style="text-align:center">done</td>
<td style="text-align:center">Function</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x56DE;&#x8C03;&#x51FD;&#x6570;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setallobjectsselected2selected">setAllObjectsSelected2(selected)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9009;&#x62E9;&#x6240;&#x6709;&#x5BF9;&#x8C61;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setAllObjectsSelected2</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">selected</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x9009;&#x4E2D;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setallobjectsvisible2visible">setAllObjectsVisible2(visible)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6240;&#x6709;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x53EF;&#x89C1;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setAllObjectsVisible2</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">visible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x53EF;&#x89C1;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setallobjectsxrayed2xrayed">setAllObjectsXRayed2(xrayed)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6240;&#x6709;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x900F;&#x660E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setAllObjectsXRayed2</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">xrayed</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x900F;&#x660E;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setcamera2poi">setCamera2(poi)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x4F4D;&#x7F6E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setCamera2</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
eye<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
look<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
up<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">poi.eye</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x76F8;&#x673A;&#x4F4D;&#x7F6E;</td>
</tr>
<tr>
<td style="text-align:center">poi.look</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x76F8;&#x673A;&#x76EE;&#x6807;&#x4F4D;&#x7F6E;</td>
</tr>
<tr>
<td style="text-align:center">poi.up</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x76F8;&#x673A;&#x4E0A;&#x65B9;&#x5411;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="savebcfviewpoint2options">saveBCFViewpoint2(options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x4FDD;&#x5B58;BCF&#x89C6;&#x70B9;&#x4FE1;&#x606F;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x4FDD;&#x5B58;&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.spacesVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x6307;&#x793A;&#x662F;&#x5426;Ifc&#x7A7A;&#x95F4;&#x7C7B;&#x578B;&#x5E94;&#x8BE5;&#x5728;&#x89C6;&#x70B9;&#x4E2D;&#x5F3A;&#x5236;&#x53EF;&#x89C1;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.openingsVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x6307;&#x793A;&#x662F;&#x5426;&#x5982;&#x679C;&#x6253;&#x5F00;&#x7C7B;&#x578B;&#x5E94;&#x8BE5;&#x5728;&#x89C6;&#x70B9;&#x4E2D;&#x5F3A;&#x5236;&#x53EF;&#x89C1;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.spaceBoundariesVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x6307;&#x793A;IfcSpace&#x7C7B;&#x578B;&#x7684;&#x8FB9;&#x754C;&#x662F;&#x5426;&#x5E94;&#x5728;&#x89C6;&#x70B9;&#x4E2D;&#x53EF;&#x89C1;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.reverseClippingPlanes</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x662F;&#x5426;&#x7FFB;&#x8F6C;&#x5207;&#x9762;</td>
</tr>
<tr>
<td style="text-align:center">options.defaultInvisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x5982;&#x679C;&#x4E3A;true&#xFF0C;&#x5219;&#x5C06;&#x6240;&#x6709;&#x5BF9;&#x8C61;&#x7684;&#x9ED8;&#x8BA4;&#x53EF;&#x89C1;&#x6027;&#x4FDD;&#x5B58;&#x4E3A;false&#x3002;&#x8FD9;&#x610F;&#x5473;&#x7740;&#xFF0C;&#x5F53;&#x6211;&#x4EEC;&#x518D;&#x6B21;&#x52A0;&#x8F7D;&#x89C6;&#x70B9;&#x65F6;&#xFF0C;&#x5982;&#x679C;&#x52A0;&#x8F7D;&#x4E86;&#x672A;&#x4FDD;&#x5B58;&#x5728;&#x89C6;&#x70B9;&#x4E2D;&#x7684;&#x5176;&#x4ED6;&#x6A21;&#x578B;&#xFF0C;&#x5219;&#x52A0;&#x8F7D;&#x89C6;&#x70B9;&#x65F6;&#x8FD9;&#x4E9B;&#x6A21;&#x578B;&#x5C06;&#x88AB;&#x9690;&#x85CF;&#xFF0C;&#x53EA;&#x6709;&#x89C6;&#x70B9;&#x4E2D;&#x7684;&#x5BF9;&#x8C61;&#x53EF;&#x89C1;&#x3002;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>BCF&#x89C6;&#x70B9;&#x4FE1;&#x606F;</p>
<h3 class="mume-header" id="setviewpoint2bcfviewpointoptions">setViewpoint2(bcfViewpoint,options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x52A0;&#x8F7D;BCF&#x89C6;&#x70B9;&#x4FE1;&#x606F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setViewpoint2</span><span class="token punctuation">(</span>bcfViewpoint<span class="token punctuation">,</span> <span class="token punctuation">{</span>
rayCast<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
immediate<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
duration<span class="token operator">:</span> <span class="token number">0.5</span><span class="token punctuation">,</span>
reset<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
reverseClippingPlanes<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
updateCompositeObjects<span class="token operator">:</span> <span class="token boolean">false</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">bcfViewpoint</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">BCF&#x89C6;&#x70B9;&#x4FE1;&#x606F;</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.rayCast</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x5982;&#x679C;&#x4E3A; true &#xFF08;&#x9ED8;&#x8BA4;&#x503C;&#xFF09;&#xFF0C;&#x5C06;&#x5C1D;&#x8BD5;&#x5C06;Camera#&#x5916;&#x89C2;&#x8BBE;&#x7F6E;&#x4E3A;&#x6700;&#x63A5;&#x8FD1; &#x66F2;&#x9762;&#x4E0E;&#x4ECE;BCFcamera_view_point&#x6CBF;camera_direction&#x65B9;&#x5411;&#x53D1;&#x5C04;&#x7684;&#x5149;&#x7EBF;&#x76F8;&#x4EA4;&#x7684;&#x70B9;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.immediate</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x7ACB;&#x5373;&#x8BBE;&#x7F6E;&#x76F8;&#x673A;&#x4F4D;&#x7F6E;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.duration</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x52A8;&#x753B;&#x6301;&#x7EED;&#x65F6;&#x95F4;,&#x5728;immediate&#x4E3A;false&#x65F6;&#x53EF;&#x7528;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.reset</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x5982;&#x679C;&#x4E3A; true &#xFF08;&#x9ED8;&#x8BA4;&#x503C;&#xFF09;&#xFF0C;&#x5219;&#x5C06;&#x6240;&#x6709;&#x573A;&#x666F;&#x5BF9;&#x8C61;&#x4E0A;&#x7684;&#x201C;Entity#xrayed&#x201D;&#x548C;&#x201C;Entity#highlights&#x201D;&#x8BBE;&#x7F6E;&#x4E3A;false&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.reverseClippingPlanes</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x5982;&#x679C;&#x4E3A; true &#xFF0C;&#x5219;&#x53CD;&#x8F6C;&#x526A;&#x88C1;&#x5E73;&#x9762;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">options.updateCompositeObjects</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x5982;&#x679C;&#x4E3A;true&#xFF0C;&#x5219;&#x53EF;&#x89C1;&#x6027;&#x548C;&#x9009;&#x62E9;&#x66F4;&#x65B0;&#x5C06;&#x5F15;&#x7528;&#x590D;&#x5408;&#x5BF9;&#x8C61;&#xFF08;&#x4F8B;&#x5982;&#x5EFA;&#x7B51;&#x7269;&#x697C;&#x5C42;&#xFF09;&#xFF0C; &#x5219;&#x8BE5;&#x65B9;&#x6CD5;&#x5C06;&#x66F4;&#x65B0;&#x5E94;&#x7528;&#x4E8E;&#x90A3;&#x4E9B;&#x590D;&#x5408;&#x7269;&#x5185;&#x7684;&#x5BF9;&#x8C61;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getnodebyidid">getNodeById(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6839;&#x636E;id&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x8282;&#x70B9;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidNodeById</span><span class="token punctuation">(</span><span class="token string">&quot;2cgXCjpDT0ZxBvxMSr3pfm&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6784;&#x4EF6;&#x8282;&#x70B9;</p>
<h3 class="mume-header" id="getmodelrootnodebyidid">getModelRootNodeById(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6A21;&#x578B;&#x6839;&#x8282;&#x70B9;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getModelRootNodeById</span><span class="token punctuation">(</span><span class="token string">&quot;jianzhu&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6A21;&#x578B;&#x6839;&#x8282;&#x70B9;</p>
<h3 class="mume-header" id="setnodeparentid">setNodeParent(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x7236;&#x8282;&#x70B9;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setNodeColor</span><span class="token punctuation">(</span><span class="token string">&quot;2cgXCjpDT0ZxBvxMSr3pfm&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x7236;&#x8282;&#x70B9;</p>
<h3 class="mume-header" id="getsolidchildrenid">getSolidChildren(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x5B50;&#x8282;&#x70B9;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidChildren</span><span class="token punctuation">(</span><span class="token string">&quot;2cgXCjpDT0ZxBvxMSr3pfm&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x5B50;&#x8282;&#x70B9;</p>
<h3 class="mume-header" id="getnodestreearrid">getNodesTreeArr(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x6811;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getNodesTreeArr</span><span class="token punctuation">(</span><span class="token string">&quot;2cgXCjpDT0ZxBvxMSr3pfm&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6784;&#x4EF6;&#x6811;</p>
<h3 class="mume-header" id="loadmodel2modeliddoneerror">loadModel2(modelId,done,error)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x52A0;&#x8F7D;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">loadModel2</span><span class="token punctuation">(</span><span class="token string">&apos;jianzhu&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token arrow operator">=&gt;</span> <span class="token punctuation">{</span><span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token arrow operator">=&gt;</span> <span class="token punctuation">{</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">modelId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
<tr>
<td style="text-align:center">done</td>
<td style="text-align:center">Function</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x52A0;&#x8F7D;&#x5B8C;&#x6210;&#x56DE;&#x8C03;</td>
</tr>
<tr>
<td style="text-align:center">error</td>
<td style="text-align:center">Function</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x52A0;&#x8F7D;&#x5931;&#x8D25;&#x56DE;&#x8C03;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="unloadmodel2modelid">unloadModel2(modelId)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5378;&#x8F7D;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">unloadModel2</span><span class="token punctuation">(</span><span class="token string">&apos;jianzhu&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">modelId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="switchcurrentmodelmodelid">switchCurrentModel(modelId)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5207;&#x6362;&#x6A21;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">switchCurrentModel</span><span class="token punctuation">(</span><span class="token string">&apos;jianzhu&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">modelId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="enabledistancemeasurecfg">enableDistanceMeasure(cfg)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x542F;&#x7528;&#x8DDD;&#x79BB;&#x6D4B;&#x91CF;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">cfg</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">cfg</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x63D2;&#x4EF6;&#x914D;&#x7F6E;.</td>
</tr>
<tr>
<td style="text-align:center"><a href="http://cfg.id">cfg.id</a></td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;DistanceMeasurements</td>
<td style="text-align:center">&#x63D2;&#x4EF6;idOptional ID for this plugin, so that we can find it within .</td>
</tr>
<tr>
<td style="text-align:center">cfg.showDistances</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x8DDD;&#x79BB;</td>
</tr>
<tr>
<td style="text-align:center">cfg.labelMinAxisLength</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;25</td>
<td style="text-align:center">&#x8F74;&#x7EBF;&#x7684;&#x6700;&#x5C0F;&#x957F;&#x5EA6;&#xFF08;&#x4EE5;&#x50CF;&#x7D20;&#x4E3A;&#x5355;&#x4F4D;&#xFF09;&#xFF0C;&#x8D85;&#x51FA;&#x6B64;&#x957F;&#x5EA6;&#x5C06;&#x663E;&#x793A;&#x5176;&#x6807;&#x7B7E;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">cfg.container</td>
<td style="text-align:center">HTMLElement</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x6807;&#x8BB0;&#x548C;&#x6807;&#x7B7E;&#x7684;&#x5BB9;&#x5668;DOM&#x5143;&#x7D20;&#x3002;&#x9ED8;&#x8BA4;body.</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultOriginVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x539F;&#x70B9;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultTargetVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x76EE;&#x6807;&#x70B9;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultWireVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x7EBF;&#x6BB5;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultLabelsVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x6807;&#x7B7E;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultAxisVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x8F74;&#x7EBF;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultColor</td>
<td style="text-align:center">string</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;#00BBFF</td>
<td style="text-align:center">&#x989C;&#x8272;&#x503C;</td>
</tr>
<tr>
<td style="text-align:center">cfg.zIndex</td>
<td style="text-align:center">number</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">z-index&#x503C;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="disabledistancemeasure">disableDistanceMeasure()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7981;&#x7528;&#x8DDD;&#x79BB;&#x6D4B;&#x91CF;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">disableDistanceMeasure</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="distancemeasuresetting">distanceMeasureSetting()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8DDD;&#x79BB;&#x6D4B;&#x91CF;&#x8BBE;&#x7F6E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">distanceMeasureSetting</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
showDistances<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
labelMinAxisLength<span class="token operator">:</span> <span class="token number">25</span><span class="token punctuation">,</span>
defaultVisible<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
defaultOriginVisible<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
defaultTargetVisible<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
defaultWireVisible<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
defaultLabelsVisible<span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
defaultAxisVisible<span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
defaultColor<span class="token operator">:</span> <span class="token string">&apos;#00BBFF&apos;</span><span class="token punctuation">,</span>
zIndex<span class="token operator">:</span> <span class="token number">1000</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">cfg</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x8BBE;&#x7F6E;&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">cfg.showDistances</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x8DDD;&#x79BB;</td>
</tr>
<tr>
<td style="text-align:center">cfg.labelMinAxisLength</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;25</td>
<td style="text-align:center">&#x8F74;&#x7EBF;&#x7684;&#x6700;&#x5C0F;&#x957F;&#x5EA6;&#xFF08;&#x4EE5;&#x50CF;&#x7D20;&#x4E3A;&#x5355;&#x4F4D;&#xFF09;&#xFF0C;&#x8D85;&#x51FA;&#x6B64;&#x957F;&#x5EA6;&#x5C06;&#x663E;&#x793A;&#x5176;&#x6807;&#x7B7E;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultOriginVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x539F;&#x70B9;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultTargetVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x76EE;&#x6807;&#x70B9;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultWireVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x7EBF;&#x6BB5;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultLabelsVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x6807;&#x7B7E;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultAxisVisible</td>
<td style="text-align:center">boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x8F74;&#x7EBF;&#x9ED8;&#x8BA4;&#x663E;&#x793A;</td>
</tr>
<tr>
<td style="text-align:center">cfg.defaultColor</td>
<td style="text-align:center">string</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;#00BBFF</td>
<td style="text-align:center">&#x989C;&#x8272;&#x503C;</td>
</tr>
<tr>
<td style="text-align:center">cfg.zIndex</td>
<td style="text-align:center">number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;1000</td>
<td style="text-align:center">z-index&#x503C;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="clearallmeasures">clearAllMeasures()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6E05;&#x9664;&#x6240;&#x6709;&#x8DDD;&#x79BB;&#x6D4B;&#x91CF;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">clearAllMeasures</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="enableanglemeasureparams">enableAngleMeasure(params)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x542F;&#x7528;&#x89D2;&#x5EA6;&#x6D4B;&#x91CF;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">enableAngleMeasure</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
id<span class="token operator">:</span> <span class="token string">&quot;angleMeasurement1&quot;</span><span class="token punctuation">,</span>
origin<span class="token operator">:</span>  <span class="token punctuation">[</span><span class="token number">1.4158603637281142</span><span class="token punctuation">,</span> <span class="token number">2.5193106917110457</span><span class="token punctuation">,</span> <span class="token number">27.79972838299403</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
corner<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">0.41857741956197625</span><span class="token punctuation">,</span><span class="token number">0.0987169929481646</span><span class="token punctuation">,</span><span class="token number">17.799763071093395</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
target<span class="token operator">:</span><span class="token punctuation">[</span><span class="token number">5.235526066859247</span><span class="token punctuation">,</span> <span class="token number">0.11580773869801986</span><span class="token punctuation">,</span> <span class="token number">17.824891550941565</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">params</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center"><a href="http://params.id">params.id</a></td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6D4B;&#x91CF;id</td>
</tr>
<tr>
<td style="text-align:center">params.origin</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x539F;&#x70B9;</td>
</tr>
<tr>
<td style="text-align:center">params.corner</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x89D2;&#x70B9;</td>
</tr>
<tr>
<td style="text-align:center">params.target</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x76EE;&#x6807;&#x70B9;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="delanglemeasurementbyidid">delAngleMeasurementById(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5220;&#x9664;&#x89D2;&#x5EA6;&#x6D4B;&#x91CF;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">delAngleMeasurementById</span><span class="token punctuation">(</span><span class="token string">&quot;angleMeasurement1&quot;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x89D2;&#x5EA6;&#x6D4B;&#x91CF;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>-1&#x5931;&#x8D25; 0&#x6210;&#x529F;</p>
<h3 class="mume-header" id="addannotationmarkerhtmllabelhtmlvalues">addAnnotation(markerHTML,labelHTML,values)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6DFB;&#x52A0;&#x6807;&#x6CE8;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> markerHTML<span class="token operator">=</span><span class="token string">&quot;&lt;div class=&apos;annotation-marker&apos; style=&apos;background-color: {{markerBGColor}};&apos;&gt;{{glyph}}&lt;/div&gt;&quot;</span><span class="token punctuation">,</span>
<span class="token keyword keyword-let">let</span> labelHTML<span class="token operator">=</span><span class="token string">&quot;&lt;div class=&apos;annotation-label&apos; style=&apos;background-color: {{labelBGColor}};&apos;&gt;&lt;div class=&apos;annotation-title&apos;&gt;{{title}}&lt;/div&gt;&lt;div class=&apos;annotation-desc&apos;&gt;{{description}}&lt;/div&gt;&lt;/div&gt;&quot;</span><span class="token punctuation">,</span>
<span class="token keyword keyword-let">let</span> values<span class="token operator">=</span> <span class="token punctuation">{</span>
markerBGColor<span class="token operator">:</span> <span class="token string">&quot;red&quot;</span><span class="token punctuation">,</span>
glyph<span class="token operator">:</span> <span class="token string">&quot;Y&quot;</span><span class="token punctuation">,</span>
title<span class="token operator">:</span> <span class="token string">&quot;Untitled&quot;</span><span class="token punctuation">,</span>
description<span class="token operator">:</span> <span class="token string">&quot;No description&quot;</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token keyword keyword-let">let</span> annotations <span class="token operator">=</span> <span class="token maybe-class-name">BimViewer</span><span class="token punctuation">.</span><span class="token method function property-access">addAnnotation</span><span class="token punctuation">(</span>markerHTML<span class="token punctuation">,</span> labelHTML<span class="token punctuation">,</span> values<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">markerHTML</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;dom</td>
</tr>
<tr>
<td style="text-align:center">labelHTML</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x753B;&#x677F;dom</td>
</tr>
<tr>
<td style="text-align:center">values</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;&#x503C;&#x53D8;&#x91CF;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6807;&#x6CE8;&#x63D2;&#x4EF6;&#x5B9E;&#x4F8B;</p>
<h3 class="mume-header" id="createannotationwithworldposidentityworldpos">createAnnotationWithWorldPos(id,entity,worldPos)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x901A;&#x8FC7;&#x5750;&#x6807;&#x6DFB;&#x52A0;&#x6807;&#x6CE8;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;id</td>
</tr>
<tr>
<td style="text-align:center">entity</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;&#x5B9E;&#x4F53;</td>
</tr>
<tr>
<td style="text-align:center">worldPos</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;&#x5750;&#x6807;</td>
</tr>
<tr>
<td style="text-align:center">labelShown</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">values</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;{}</td>
<td style="text-align:center">&#x6807;&#x6CE8;&#x503C;&#x53D8;&#x91CF;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="enableclickannotation">enableClickAnnotation()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x901A;&#x8FC7;&#x70B9;&#x51FB;&#x6DFB;&#x52A0;&#x6807;&#x6CE8;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">values</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x6CE8;&#x503C;&#x53D8;&#x91CF;</td>
</tr>
<tr>
<td style="text-align:center">options.occludable</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.markerShown</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.labelShown</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9009;&#x9879;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="disableclickannotationid">disableClickAnnotation(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7981;&#x7528;&#x70B9;&#x51FB;&#x6DFB;&#x52A0;&#x6807;&#x6CE8;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> id <span class="token operator">=</span> <span class="token keyword keyword-this">this</span><span class="token punctuation">.</span><span class="token method function property-access">enableClickAnnotation</span><span class="token punctuation">(</span>annotations<span class="token punctuation">)</span>
<span class="token keyword keyword-this">this</span><span class="token punctuation">.</span><span class="token method function property-access">disableClickAnnotation</span><span class="token punctuation">(</span>id<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x4E8B;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="destroyannotationbyidid">destroyAnnotationById(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9500;&#x6BC1;&#x6807;&#x6CE8;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"></pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x7B7E;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setannotationvisibilityidisshow">setAnnotationVisibility(id,isShow)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6807;&#x6CE8;&#x663E;&#x9690;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"></pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6807;&#x7B7E;id</td>
</tr>
<tr>
<td style="text-align:center">isShow</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x663E;&#x793A;/&#x9690;&#x85CF;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="clearallannotations">clearAllAnnotations()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6E05;&#x9664;&#x6240;&#x6709;&#x6807;&#x6CE8;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">clearAllAnnotations</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="getcenterworldposid">getCenterWorldpos(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x901A;&#x8FC7;&#x6A21;&#x578B;id&#x83B7;&#x53D6;&#x6A21;&#x578B;&#x4E2D;&#x5FC3;&#x70B9;</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6A21;&#x578B;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getsolidsboundingid">getSolidsBounding(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x901A;&#x8FC7;&#x6784;&#x4EF6;id&#x83B7;&#x53D6;&#x6A21;&#x578B;&#x5305;&#x56F4;&#x76D2;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> aabb <span class="token operator">=</span> bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidsBounding</span><span class="token punctuation">(</span><span class="token string">&apos;&apos;</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x5305;&#x56F4;&#x76D2;</p>
<h3 class="mume-header" id="settoolbarvisibleisshow">setToolbarVisible(isShow)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9690;&#x85CF;&#x663E;&#x793A;&#x5DE5;&#x5177;&#x680F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setToolbarVisible</span><span class="token punctuation">(</span><span class="token boolean">false</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">isShow</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x663E;&#x793A;/&#x9690;&#x85CF;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="settreevisibleisshow">setTreeVisible(isShow)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9690;&#x85CF;&#x663E;&#x793A;&#x6811;&#x5F62;&#x7ED3;&#x6784;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setTreeVisible</span><span class="token punctuation">(</span><span class="token boolean">false</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">isShow</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x663E;&#x793A;/&#x9690;&#x85CF;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="settoolbarvistoolbaroption">setToolbarVis(toolbarOption)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x81EA;&#x5B9A;&#x4E49;&#x5DE5;&#x5177;&#x680F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> toolbarOption <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">&apos;_resetAction&apos;</span><span class="token punctuation">,</span> <span class="token string">&apos;_fitAction&apos;</span><span class="token punctuation">,</span> <span class="token string">&apos;_threeDMode&apos;</span><span class="token punctuation">,</span> <span class="token string">&apos;_orthoMode&apos;</span><span class="token punctuation">,</span> <span class="token string">&apos;_firstPersonMode&apos;</span><span class="token punctuation">]</span>
bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setToolbar</span><span class="token punctuation">(</span>toolbarOption<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">toolbarOption</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5DE5;&#x5177;&#x680F;&#x9009;&#x9879;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="gettoolbar">getToolbar()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x5DE5;&#x5177;&#x680F;&#x914D;&#x7F6E;&#x9879;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> toolbarOption <span class="token operator">=</span> bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getToolbar</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x5DE5;&#x5177;&#x680F;&#x914D;&#x7F6E;&#x9879;</p>
<h3 class="mume-header" id="getsnapshotparams">getSnapshot(params)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x5C4F;&#x5E55;&#x622A;&#x56FE;.</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-const">const</span> imageData <span class="token operator">=</span> bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSnapshot</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
width<span class="token operator">:</span> <span class="token number">200</span><span class="token punctuation">,</span>
height<span class="token operator">:</span> <span class="token number">200</span><span class="token punctuation">,</span>
format<span class="token operator">:</span> <span class="token string">&quot;png&quot;</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">params</td>
<td style="text-align:center">undefined</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x622A;&#x56FE;&#x9009;&#x9879;.</td>
</tr>
<tr>
<td style="text-align:center">params.width</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x5BBD;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">params.height</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x9AD8;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">params.format</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&quot;jpeg&quot;</td>
<td style="text-align:center">&#x683C;&#x5F0F;&quot;jpeg&quot;, &quot;png&quot; or &quot;bmp&quot;.</td>
</tr>
<tr>
<td style="text-align:center">params.includeGizmos</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">true&#x65F6;&#x5C06;&#x5305;&#x542B;gizmos.</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x56FE;&#x7247;&#x5730;&#x5740;.</p>
<h3 class="mume-header" id="getstoreyids">getStoreyIds()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6240;&#x6709;&#x697C;&#x5C42;id.</p>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x697C;&#x5C42;id&#x6570;&#x7EC4;.</p>
<h3 class="mume-header" id="buildstoreymapstoreydivstoreyid">buildStoreyMap(storeyDiv,storeyId)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x751F;&#x6210;&#x6307;&#x5B9A;&#x697C;&#x5C42;&#x5730;&#x56FE;.</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> storeIds<span class="token operator">=</span>bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getStoreyIds</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
storeIds<span class="token punctuation">.</span><span class="token method function property-access">forEach</span><span class="token punctuation">(</span><span class="token parameter">storeyId</span><span class="token arrow operator">=&gt;</span><span class="token punctuation">{</span>
bimViewer<span class="token punctuation">.</span><span class="token method function property-access">buildStoreyMap</span><span class="token punctuation">(</span><span class="token dom variable">document</span><span class="token punctuation">.</span><span class="token property-access">body</span><span class="token punctuation">,</span> storeyId<span class="token punctuation">,</span>options<span class="token operator">=</span><span class="token punctuation">{</span><span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">storeyDiv</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x697C;&#x5C42;div.</td>
</tr>
<tr>
<td style="text-align:center">storeyId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x697C;&#x5C42;id.</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">undefined</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">Options.</td>
</tr>
<tr>
<td style="text-align:center">options.width</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;300</td>
<td style="text-align:center">&#x5BBD;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">options.height</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;300</td>
<td style="text-align:center">&#x9AD8;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">options.format</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&quot;png&quot;</td>
<td style="text-align:center">&#x751F;&#x6210;&#x56FE;&#x7247;&#x683C;&#x5F0F;&quot;jpeg&quot;, &quot;png&quot;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>StoreyMap&#x5BF9;&#x8C61;.</p>
<h3 class="mume-header" id="toggleprojectionmodeprojectiondone">toggleProjectionMode(projection,done)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5207;&#x6362;&#x6295;&#x5F71;&#x6A21;&#x5F0F;.</p>
<p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">projection</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6295;&#x5F71;&#x6A21;&#x5F0F;perspective, ortho.</td>
</tr>
<tr>
<td style="text-align:center">done</td>
<td style="text-align:center">Function</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x5207;&#x6362;&#x5B8C;&#x6210;&#x56DE;&#x8C03;.</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="showoperatehandleidoption">showOperateHandle(id,option)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x663E;&#x793A;&#x64CD;&#x4F5C;&#x63A7;&#x4EF6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">showOperateHandle</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span><span class="token punctuation">{</span>opacity<span class="token operator">:</span><span class="token boolean">true</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">option</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x64CD;&#x4F5C;&#x53C2;&#x6570;</td>
</tr>
<tr>
<td style="text-align:center">option.opacity</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x900F;&#x660E;&#x5EA6;&#x63A7;&#x4EF6;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidrotateidoptions">setSolidRotate(id,options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x65CB;&#x8F6C;&#x6784;&#x4EF6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidTranslate</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token number">2</span><span class="token punctuation">,</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5E73;&#x79FB;&#x53C2;&#x6570;[x,y,z]</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidtranslationwithdistanceidoptions">setSolidTranslationWithDistance(id,options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5E73;&#x79FB;&#x6784;&#x4EF6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidTranslate</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token number">2</span><span class="token punctuation">,</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5E73;&#x79FB;&#x53C2;&#x6570;[x,y,z]</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidtranslationwithpoint3idpoint3">setSolidTranslationWithPoint3(id,point3)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5E73;&#x79FB;&#x6784;&#x4EF6;&#x5230;&#x6307;&#x5B9A;&#x4F4D;&#x7F6E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidTranslationWithPoint3</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span><span class="token punctuation">[</span><span class="token number">10</span><span class="token punctuation">,</span><span class="token number">10</span><span class="token punctuation">,</span><span class="token number">10</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">point3</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x4F4D;&#x7F6E;[x,y,z]</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsolidscaleidscalenumber">setSolidScale(id,scaleNumber)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7F29;&#x653E;&#x6784;&#x4EF6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidScale</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token number">2</span><span class="token punctuation">,</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">scaleNumber</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x7F29;&#x653E;&#x6BD4;&#x4F8B;[x,y,z]</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="unsetsolidstatusid">unsetSolidStatus(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6062;&#x590D;&#x6784;&#x4EF6;&#x72B6;&#x6001;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">unsetSolidStatus</span><span class="token punctuation">(</span>id<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getsolidstatusid">getSolidStatus(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x72B6;&#x6001;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidStatus</span><span class="token punctuation">(</span>id<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6784;&#x4EF6;&#x72B6;&#x6001;4*4&#x77E9;&#x9635;</p>
<h3 class="mume-header" id="setsolidstatusidstatus">setSolidStatus(id,status)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x6784;&#x4EF6;&#x72B6;&#x6001;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSolidStatus</span><span class="token punctuation">(</span>id<span class="token punctuation">,</span>status<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">status</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;&#x72B6;&#x6001;4*4&#x77E9;&#x9635;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getsolidtypeid">getSolidType(id)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x6784;&#x4EF6;&#x7C7B;&#x578B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getSolidType</span><span class="token punctuation">(</span>id<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">id</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6784;&#x4EF6;&#x7C7B;&#x578B;</p>
<h3 class="mume-header" id="seteventlistenereventtypecallback">setEventListener(eventType,callback)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x89C6;&#x56FE;&#x76D1;&#x542C;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setEventListener</span><span class="token punctuation">(</span><span class="token string">&apos;click&apos;</span><span class="token punctuation">,</span><span class="token keyword keyword-function">function</span><span class="token punctuation">(</span><span class="token parameter">e</span><span class="token punctuation">)</span><span class="token punctuation">{</span>
<span class="token console class-name">console</span><span class="token punctuation">.</span><span class="token method function property-access">log</span><span class="token punctuation">(</span>e<span class="token punctuation">)</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">eventType</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x4E8B;&#x4EF6;&#x7C7B;&#x578B;</td>
</tr>
<tr>
<td style="text-align:center">callback</td>
<td style="text-align:center">Function</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x56DE;&#x8C03;&#x51FD;&#x6570;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setkeyboardwalkenabledisenabled">setKeyboardWalkEnabled(isEnabled)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x662F;&#x5426;&#x5F00;&#x542F;&#x952E;&#x76D8;&#x6F2B;&#x6E38;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setKeyboardWalkEnabled</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">isEnabled</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x5F00;&#x542F;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setmousewalkenabledisenabled">setMouseWalkEnabled(isEnabled)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x662F;&#x5426;&#x5F00;&#x542F;&#x9F20;&#x6807;&#x6F2B;&#x6E38;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setMouseWalkEnabled</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">isEnabled</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x5F00;&#x542F;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="activerouteroampositionsoption">activeRouteRoam(positions,option)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x8DEF;&#x5F84;&#x6F2B;&#x6E38;&#x53C2;&#x6570;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-const">const</span> positions <span class="token operator">=</span> <span class="token punctuation">[</span>
<span class="token punctuation">{</span>
<span class="token string">&quot;eye&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">10.449999809265137</span><span class="token punctuation">,</span>
<span class="token number">17.3799991607666</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">98.30999755859375</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;look&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">43.09000015258789</span><span class="token punctuation">,</span>
<span class="token number">0.5</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">26.760000228881836</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;up&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">0.05999999865889549</span><span class="token punctuation">,</span>
<span class="token number">0.9599999785423279</span><span class="token punctuation">,</span>
<span class="token number">0.1599999964237213</span>
<span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
<span class="token string">&quot;eye&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">49.10879898071289</span><span class="token punctuation">,</span>
<span class="token number">9.237162590026855</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">99.9477310180664</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;look&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">49.10879898071289</span><span class="token punctuation">,</span>
<span class="token number">9.237162590026855</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">29.48837661743164</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;up&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">0</span><span class="token punctuation">,</span>
<span class="token number">1</span><span class="token punctuation">,</span>
<span class="token number">0</span>
<span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">{</span>
<span class="token string">&quot;eye&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">98.93108367919922</span><span class="token punctuation">,</span>
<span class="token number">9.237162590026855</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">79.31066131591797</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;look&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">49.10879898071289</span><span class="token punctuation">,</span>
<span class="token number">9.237162590026855</span><span class="token punctuation">,</span>
<span class="token operator">-</span><span class="token number">29.48837661743164</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token string">&quot;up&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token number">0</span><span class="token punctuation">,</span>
<span class="token number">1</span><span class="token punctuation">,</span>
<span class="token number">0</span>
<span class="token punctuation">]</span>
<span class="token punctuation">}</span><span class="token punctuation">]</span>
<span class="token keyword keyword-let">let</span> pathRomation <span class="token operator">=</span> bimViewer<span class="token punctuation">.</span><span class="token method function property-access">activeRouteRoam</span><span class="token punctuation">(</span>positions<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">positions</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x8DEF;&#x5F84;&#x70B9;&#x6570;&#x7EC4;</td>
</tr>
<tr>
<td style="text-align:center">option</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x53C2;&#x6570;</td>
</tr>
<tr>
<td style="text-align:center">option.playingRate</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0.015</td>
<td style="text-align:center">&#x6F2B;&#x6E38;&#x901F;&#x5EA6;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x8DEF;&#x5F84;&#x6F2B;&#x6E38;&#x5BF9;&#x8C61;</p>
<h3 class="mume-header" id="playromaroma">playRoma(roma)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5F00;&#x59CB;&#x6F2B;&#x6E38;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">playRoma</span><span class="token punctuation">(</span>pathRomation<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">roma</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6F2B;&#x6E38;&#x5BF9;&#x8C61;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="stopromaroma">stopRoma(roma)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x505C;&#x6B62;&#x6F2B;&#x6E38;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">stopRoma</span><span class="token punctuation">(</span>pathRomation<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">roma</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6F2B;&#x6E38;&#x5BF9;&#x8C61;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="forbidselectidsispickable">forbidSelect(ids,isPickable)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7981;&#x6B62;&#x9009;&#x53D6;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">forbidSelect</span><span class="token punctuation">(</span><span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token number">2</span><span class="token punctuation">,</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">,</span><span class="token boolean">false</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">ids</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">id&#x6570;&#x7EC4;</td>
</tr>
<tr>
<td style="text-align:center">isPickable</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x53EF;&#x9009;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="getstatistics">getStatistics()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x83B7;&#x53D6;&#x7EDF;&#x8BA1;&#x4FE1;&#x606F;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">getStatistics</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>statistics&#x5BF9;&#x8C61;.</p>
<h3 class="mume-header" id="createsectionplanesoptions">createSectionPlanes(options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x521B;&#x5EFA;&#x5256;&#x5207;&#x9762;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">createSectionPlanes</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5256;&#x5207;&#x9762;&#x8BBE;&#x7F6E;</td>
</tr>
<tr>
<td style="text-align:center">options.overviewVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x5256;&#x5207;&#x6982;&#x89C8;</td>
</tr>
<tr>
<td style="text-align:center">options.flipSectionPlanes</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x53CD;&#x8F6C;&#x5256;&#x5207;&#x5E73;&#x9762;&#x7684;&#x65B9;&#x5411;</td>
</tr>
<tr>
<td style="text-align:center">options.showControl</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x662F;&#x5426;&#x663E;&#x793A;&#x5256;&#x5207;&#x9762;&#x7684;&#x64CD;&#x4F5C;&#x5668;</td>
</tr>
<tr>
<td style="text-align:center">options.divId</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x5B58;&#x653E;&#x5256;&#x5207;&#x6982;&#x89C8;&#x7684;divId</td>
</tr>
<tr>
<td style="text-align:center">options.pos</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[2.30,4.46,14.93]</td>
<td style="text-align:center">&#x4E16;&#x754C;&#x7A7A;&#x95F4;&#x4F4D;&#x7F6E;</td>
</tr>
<tr>
<td style="text-align:center">options.dir</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[0.0,-0.09,-0.79]</td>
<td style="text-align:center">&#x4E16;&#x754C;&#x7A7A;&#x95F4;&#x5411;&#x91CF;</td>
</tr>
<tr>
<td style="text-align:center">options.imgSrc</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x5256;&#x5207;&#x9762;&#x7684;&#x56FE;&#x7247;</td>
</tr>
<tr>
<td style="text-align:center">options.imgSize</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x5256;&#x5207;&#x9762;&#x7684;&#x56FE;&#x7247;&#x5C3A;&#x5BF8;</td>
</tr>
<tr>
<td style="text-align:center">options.gridVisible</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;false</td>
<td style="text-align:center">&#x5256;&#x5207;&#x9762;&#x7684;&#x56FE;&#x7247;&#x662F;&#x5426;&#x663E;&#x793A;&#x6805;&#x683C;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>sectionPlanes&#x5BF9;&#x8C61;.</p>
<h3 class="mume-header" id="destroysectionplanesectionplaneobj">destroySectionPlane(sectionPlaneObj)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x9500;&#x6BC1;&#x5256;&#x5207;&#x9762;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">destroySectionPlane</span><span class="token punctuation">(</span>sectionPlaneObj<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">sectionPlaneObj</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">sectionPlanes&#x5BF9;&#x8C61;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setobjectsxrayedidsisxrayed">setObjectsXRayed(ids,isXRayed)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;&#x7EBF;&#x6846;&#x6E32;&#x67D3;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setObjectsXRayed</span><span class="token punctuation">(</span>ids<span class="token punctuation">,</span> <span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">ids</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id&#x6570;&#x7EC4;</td>
</tr>
<tr>
<td style="text-align:center">isXRayed</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x7EBF;&#x6846;&#x6E32;&#x67D3;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setsaoenableenable">setSAOEnable(enable)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x8BBE;&#x7F6E;SAO&#x5F00;&#x542F;/&#x5173;&#x95ED;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setSAOEnable</span><span class="token punctuation">(</span><span class="token boolean">true</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">enable</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x662F;&#x5426;&#x5F00;&#x542F;SAO</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">SAO&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.bias</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0.5</td>
<td style="text-align:center">&#x504F;&#x79FB;&#x91CF;</td>
</tr>
<tr>
<td style="text-align:center">options.blendCutoff</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0.3</td>
<td style="text-align:center">&#x6DF7;&#x5408;&#x622A;&#x6B62;</td>
</tr>
<tr>
<td style="text-align:center">options.blendFactor</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;1.0</td>
<td style="text-align:center">&#x6DF7;&#x5408;&#x56E0;&#x5B50;</td>
</tr>
<tr>
<td style="text-align:center">options.blur</td>
<td style="text-align:center">Boolean</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;true</td>
<td style="text-align:center">&#x9AD8;&#x65AF;&#x6A21;&#x7CCA;</td>
</tr>
<tr>
<td style="text-align:center">options.intensity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0.15</td>
<td style="text-align:center">&#x6697;&#x5316;&#x7A0B;&#x5EA6;&#xFF08;SAO&#x906E;&#x853D;&#xFF09;</td>
</tr>
<tr>
<td style="text-align:center">options.kernelRadius</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;100</td>
<td style="text-align:center">SAO&#x5728;&#x68C0;&#x67E5;&#x6BCF;&#x4E2A;&#x7247;&#x6BB5;&#x7684;&#x53EF;&#x80FD;&#x906E;&#x6321;&#x65F6;&#x8003;&#x8651;&#x7684;&#x6700;&#x5927;&#x533A;&#x57DF;</td>
</tr>
<tr>
<td style="text-align:center">options.minResolution</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x6700;&#x5C0F;&#x5206;&#x8FA8;&#x7387;</td>
</tr>
<tr>
<td style="text-align:center">options.numSamples</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;10</td>
<td style="text-align:center">&#x91C7;&#x6837;&#x6570;</td>
</tr>
<tr>
<td style="text-align:center">options.scale</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;1.0</td>
<td style="text-align:center">&#x906E;&#x6321;&#x6BD4;&#x4F8B;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="clearlights">clearLights()</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6E05;&#x9664;&#x573A;&#x666F;&#x4E2D;&#x6240;&#x6709;&#x706F;&#x5149;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">clearLights</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</pre><h3 class="mume-header" id="addlighttype">addlight(type)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6DFB;&#x52A0;&#x706F;&#x5149;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">addlight</span><span class="token punctuation">(</span><span class="token string">&apos;ambientLight&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>color<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">200</span><span class="token punctuation">,</span> <span class="token number">200</span><span class="token punctuation">]</span><span class="token punctuation">,</span> intensity<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">type</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x706F;&#x5149;&#x7C7B;&#x578B;</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x706F;&#x5149;&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[0.7,0.7,0.8]</td>
<td style="text-align:center">&#x989C;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">options.intensity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;1.0</td>
<td style="text-align:center">&#x5F3A;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">options.dir</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[1.0,1.0,1.0]</td>
<td style="text-align:center">&#x7167;&#x5C04;&#x65B9;&#x5411;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;dirLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.space</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&quot;view&quot;</td>
<td style="text-align:center">&#x5728; &#x201C;&#x89C6;&#x56FE;&#x201D;&#x6216;&#x201C;&#x7A7A;&#x95F4;&#x201D;&#x4E2D;&#x5B9A;&#x4E49;&#x7684;&#x5750;&#x6807;&#x7CFB;</td>
</tr>
<tr>
<td style="text-align:center">options.pos</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[1.0,1.0,1.0]</td>
<td style="text-align:center">&#x5728;&#x201C;&#x4E16;&#x754C;&#x201D;&#x6216;&#x201C;&#x89C6;&#x56FE;&#x201D;&#x7A7A;&#x95F4;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#xFF0C;&#x5177;&#x4F53;&#x53D6;&#x51B3;&#x4E8E; &#x7A7A;&#x95F4;&#x53C2;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.constantAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x6052;&#x5B9A;&#x8870;&#x51CF;&#x7CFB;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.linearAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x7EBF;&#x6027;&#x8870;&#x51CF;&#x7CFB;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.quadraticAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x4E8C;&#x6B21;&#x8870;&#x51CF;&#x56E0;&#x5B50;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>light &#x706F;&#x5149;&#x5BF9;&#x8C61;</p>
<h3 class="mume-header" id="removelightlight">removeLight(light)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x79FB;&#x9664;&#x706F;&#x5149;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">removeLight</span><span class="token punctuation">(</span>light<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">light</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x706F;&#x5149;&#x5BF9;&#x8C61;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="updatelightlightoptions">updateLight(light,options)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x66F4;&#x65B0;&#x706F;&#x5149;&#x914D;&#x7F6E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">updateLight</span><span class="token punctuation">(</span>light<span class="token punctuation">,</span> <span class="token punctuation">{</span>color<span class="token operator">:</span> <span class="token punctuation">[</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">200</span><span class="token punctuation">,</span> <span class="token number">200</span><span class="token punctuation">]</span><span class="token punctuation">,</span> intensity<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">light</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x706F;&#x5149;&#x5BF9;&#x8C61;</td>
</tr>
<tr>
<td style="text-align:center">options</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x706F;&#x5149;&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">options.color</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[0.7,0.7,0.8]</td>
<td style="text-align:center">&#x989C;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">options.intensity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;1.0</td>
<td style="text-align:center">&#x5F3A;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">options.dir</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[1.0,1.0,1.0]</td>
<td style="text-align:center">&#x7167;&#x5C04;&#x65B9;&#x5411;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;dirLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.space</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&quot;view&quot;</td>
<td style="text-align:center">&#x5728; &#x201C;&#x89C6;&#x56FE;&#x201D;&#x6216;&#x201C;&#x7A7A;&#x95F4;&#x201D;&#x4E2D;&#x5B9A;&#x4E49;&#x7684;&#x5750;&#x6807;&#x7CFB;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;dirLight&#x548C;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.pos</td>
<td style="text-align:center">Array</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;[1.0,1.0,1.0]</td>
<td style="text-align:center">&#x5728;&#x201C;&#x4E16;&#x754C;&#x201D;&#x6216;&#x201C;&#x89C6;&#x56FE;&#x201D;&#x7A7A;&#x95F4;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#xFF0C;&#x5177;&#x4F53;&#x53D6;&#x51B3;&#x4E8E; &#x7A7A;&#x95F4;&#x53C2;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.constantAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x6052;&#x5B9A;&#x8870;&#x51CF;&#x7CFB;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.linearAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x7EBF;&#x6027;&#x8870;&#x51CF;&#x7CFB;&#x6570;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
<tr>
<td style="text-align:center">options.quadraticAttenuation</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0</td>
<td style="text-align:center">&#x4E8C;&#x6B21;&#x8870;&#x51CF;&#x56E0;&#x5B50;&#xFF0C;&#x4EC5;&#x9488;&#x5BF9;pointLight&#xFF0C;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#x65E0;&#x6548;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="moveobjectobjectiddirdone">moveObject(objectId,dir,done)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x6784;&#x4EF6;&#x6392;&#x5E03;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript">bimViewer<span class="token punctuation">.</span><span class="token method function property-access">moveObject</span><span class="token punctuation">(</span><span class="token string">&quot;3lIj7B0LnBjf0mvxk2zve8&quot;</span><span class="token punctuation">,</span> <span class="token punctuation">[</span><span class="token operator">-</span><span class="token number">25</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">objectId</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6784;&#x4EF6;id</td>
</tr>
<tr>
<td style="text-align:center">dir</td>
<td style="text-align:center">Array</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x504F;&#x79FB;&#x91CF;</td>
</tr>
<tr>
<td style="text-align:center">done</td>
<td style="text-align:center">Function</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x6210;&#x529F;&#x56DE;&#x8C03;</td>
</tr>
</tbody>
</table>
<h3 class="mume-header" id="setdrawingtype">setDrawing(type)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7ED8;&#x5236;&#x8BBE;&#x7F6E;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> draw<span class="token operator">=</span>bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setDrawing</span><span class="token punctuation">(</span><span class="token string">&apos;line&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>stroke<span class="token operator">:</span> <span class="token string">&apos;red&apos;</span><span class="token punctuation">,</span> strokeWidth<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">type</td>
<td style="text-align:center">String</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x7ED8;&#x5236;&#x7C7B;&#x578B;line&#x3001;point&#x3001;polygon</td>
</tr>
<tr>
<td style="text-align:center">setting</td>
<td style="text-align:center">Object</td>
<td style="text-align:center">&#x53EF;&#x9009;</td>
<td style="text-align:center">&#x7ED8;&#x5236;&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:center">setting.stroke</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&apos;white&apos;</td>
<td style="text-align:center">&#x8FB9;&#x6846;&#x989C;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">setting.pointSize</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;2</td>
<td style="text-align:center">&#x70B9;&#x5927;&#x5C0F;</td>
</tr>
<tr>
<td style="text-align:center">setting.strokeWidth</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;2</td>
<td style="text-align:center">&#x7EBF;&#x5BBD;</td>
</tr>
<tr>
<td style="text-align:center">setting.fillOpacity</td>
<td style="text-align:center">Number</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;0.5</td>
<td style="text-align:center">&#x586B;&#x5145;&#x900F;&#x660E;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:center">setting.fill</td>
<td style="text-align:center">String</td>
<td style="text-align:center">&#x53EF;&#x9009;,&#x9ED8;&#x8BA4;&#x503C;&apos;black&apos;</td>
<td style="text-align:center">&#x586B;&#x5145;&#x989C;&#x8272;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6210;&#x529F;&#x8FD4;&#x56DE;&#x7ED8;&#x5236;&#x5B9E;&#x4F8B;,&#x5931;&#x8D25;&#x8FD4;&#x56DE;-1</p>
<h3 class="mume-header" id="acactivationdrawingdrawinstance">acactivationDrawing(drawInstance)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x7ED8;&#x5236;&#x6FC0;&#x6D3B;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> draw<span class="token operator">=</span>bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setDrawing</span><span class="token punctuation">(</span><span class="token string">&apos;line&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>stroke<span class="token operator">:</span> <span class="token string">&apos;red&apos;</span><span class="token punctuation">,</span> strokeWidth<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
bimViewer<span class="token punctuation">.</span><span class="token method function property-access">acactivationDrawing</span><span class="token punctuation">(</span>draw<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">drawInstance</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x7ED8;&#x5236;&#x5B9E;&#x4F8B;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6210;&#x529F;&#x8FD4;&#x56DE;0,&#x5931;&#x8D25;&#x8FD4;&#x56DE;-1</p>
<h3 class="mume-header" id="deactivedrawingdrawinstance">deactiveDrawing(drawInstance)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x53D6;&#x6D88;&#x7ED8;&#x5236;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> draw<span class="token operator">=</span>bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setDrawing</span><span class="token punctuation">(</span><span class="token string">&apos;line&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>stroke<span class="token operator">:</span> <span class="token string">&apos;red&apos;</span><span class="token punctuation">,</span> strokeWidth<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
bimViewer<span class="token punctuation">.</span><span class="token method function property-access">deactiveDrawing</span><span class="token punctuation">(</span>draw<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">drawInstance</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x7ED8;&#x5236;&#x5B9E;&#x4F8B;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6210;&#x529F;&#x8FD4;&#x56DE;0,&#x5931;&#x8D25;&#x8FD4;&#x56DE;-1</p>
<h3 class="mume-header" id="deletedrawingdrawinstance">deleteDrawing(drawInstance)</h3>

<p><strong>&#x8BF4;&#x660E;</strong></p>
<p>&#x5220;&#x9664;&#x7ED8;&#x5236;</p>
<p><strong>&#x793A;&#x4F8B;</strong></p>
<pre data-role="codeBlock" data-info="javascript" class="language-javascript"><span class="token keyword keyword-let">let</span> draw<span class="token operator">=</span>bimViewer<span class="token punctuation">.</span><span class="token method function property-access">setDrawing</span><span class="token punctuation">(</span><span class="token string">&apos;line&apos;</span><span class="token punctuation">,</span> <span class="token punctuation">{</span>stroke<span class="token operator">:</span> <span class="token string">&apos;red&apos;</span><span class="token punctuation">,</span> strokeWidth<span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
bimViewer<span class="token punctuation">.</span><span class="token method function property-access">deleteDrawing</span><span class="token punctuation">(</span>draw<span class="token punctuation">)</span>
</pre><p><strong>&#x53C2;&#x6570;</strong></p>
<table>
<thead>
<tr>
<th style="text-align:center">&#x53C2;&#x6570;</th>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">drawInstance</td>
<td style="text-align:center">Object</td>
<td style="text-align:center"></td>
<td style="text-align:center">&#x7ED8;&#x5236;&#x5B9E;&#x4F8B;</td>
</tr>
</tbody>
</table>
<p><strong>&#x8FD4;&#x56DE;&#x503C;</strong></p>
<p>&#x6210;&#x529F;&#x8FD4;&#x56DE;0,&#x5931;&#x8D25;&#x8FD4;&#x56DE;-1</p>

      </div>
      <div class="md-sidebar-toc">
<div class="md-toc">
<div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#myviewercfg" class="md-toc-link">
            <p>MyViewer(cfg)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setallmodeltransparencyopacity" class="md-toc-link">
            <p>setAllModelTransparency(opacity)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getcamera" class="md-toc-link">
            <p>getCamera()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setfrontview" class="md-toc-link">
            <p>setFrontView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setbackview" class="md-toc-link">
            <p>setBackView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#settopview" class="md-toc-link">
            <p>setTopView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setbottomview" class="md-toc-link">
            <p>setBottomView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setleftview" class="md-toc-link">
            <p>setLeftView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setrightview" class="md-toc-link">
            <p>setRightView()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setaxisvisiblevisible" class="md-toc-link">
            <p>setAxisVisible(visible)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#spacepointtowindowpositionspacepoint" class="md-toc-link">
            <p>spacePointToWindowPosition(spacePoint)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setfarestzoomdistancedistance" class="md-toc-link">
            <p>setFarestZoomDistance(distance)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#cancelsetfarestzoomdistance" class="md-toc-link">
            <p>cancelSetFarestZoomDistance()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getcurrentzoomdistance" class="md-toc-link">
            <p>getCurrentZoomDistance()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setbackgroundcolorcolor" class="md-toc-link">
            <p>setBackgroundColor(color)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setpivotelementdomstring" class="md-toc-link">
            <p>setPivotElement(domString)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidshighlightcolorcoloralpha" class="md-toc-link">
            <p>setSolidsHighlightColor(color,alpha)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#resethighlightmaterialfill" class="md-toc-link">
            <p>resetHighlightMaterialFill()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#sethighlightmaterialedgescoloralphashow" class="md-toc-link">
            <p>setHighlightMaterialEdges(color,alpha,show)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#locationbyididcallback" class="md-toc-link">
            <p>locationById(id,callback)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#zoombypositionpositioncallback" class="md-toc-link">
            <p>zoomByPosition(position,callback)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#highlightbyididsishighlight" class="md-toc-link">
            <p>highlightById(ids,isHighLight)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setcubevisbleshow" class="md-toc-link">
            <p>setCubeVisble(show)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#resetmodel" class="md-toc-link">
            <p>resetModel()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#get3denabled2" class="md-toc-link">
            <p>get3DEnabled2()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#set3denabled2is3d" class="md-toc-link">
            <p>set3DEnabled2(is3D)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidsvisibilityobjectidsvisible" class="md-toc-link">
            <p>setSolidsVisibility(objectIds,visible)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#isolatesolidsidtag" class="md-toc-link">
            <p>isolateSolids(id,tag)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidsopacityobjectidopacity" class="md-toc-link">
            <p>setSolidsOpacity(objectId,opacity)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#resetsolidsopacityid" class="md-toc-link">
            <p>resetSolidsOpacity(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidcolorobjectidcolor" class="md-toc-link">
            <p>setSolidColor(objectId,color)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#resetsolidscolorid" class="md-toc-link">
            <p>resetSolidsColor(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setobjectsselected2objectidsselected" class="md-toc-link">
            <p>setObjectsSelected2(objectIds,selected)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setobjectsxrayed2objectidsxrayed" class="md-toc-link">
            <p>setObjectsXRayed2(objectIds,xrayed)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsolidpropertyobjectid" class="md-toc-link">
            <p>getSolidProperty(objectId)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#selectstorey2storeyobjectiddone" class="md-toc-link">
            <p>selectStorey2(storeyObjectId,done)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setallobjectsselected2selected" class="md-toc-link">
            <p>setAllObjectsSelected2(selected)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setallobjectsvisible2visible" class="md-toc-link">
            <p>setAllObjectsVisible2(visible)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setallobjectsxrayed2xrayed" class="md-toc-link">
            <p>setAllObjectsXRayed2(xrayed)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setcamera2poi" class="md-toc-link">
            <p>setCamera2(poi)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#savebcfviewpoint2options" class="md-toc-link">
            <p>saveBCFViewpoint2(options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setviewpoint2bcfviewpointoptions" class="md-toc-link">
            <p>setViewpoint2(bcfViewpoint,options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getnodebyidid" class="md-toc-link">
            <p>getNodeById(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getmodelrootnodebyidid" class="md-toc-link">
            <p>getModelRootNodeById(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setnodeparentid" class="md-toc-link">
            <p>setNodeParent(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsolidchildrenid" class="md-toc-link">
            <p>getSolidChildren(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getnodestreearrid" class="md-toc-link">
            <p>getNodesTreeArr(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#loadmodel2modeliddoneerror" class="md-toc-link">
            <p>loadModel2(modelId,done,error)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#unloadmodel2modelid" class="md-toc-link">
            <p>unloadModel2(modelId)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#switchcurrentmodelmodelid" class="md-toc-link">
            <p>switchCurrentModel(modelId)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#enabledistancemeasurecfg" class="md-toc-link">
            <p>enableDistanceMeasure(cfg)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#disabledistancemeasure" class="md-toc-link">
            <p>disableDistanceMeasure()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#distancemeasuresetting" class="md-toc-link">
            <p>distanceMeasureSetting()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#clearallmeasures" class="md-toc-link">
            <p>clearAllMeasures()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#enableanglemeasureparams" class="md-toc-link">
            <p>enableAngleMeasure(params)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#delanglemeasurementbyidid" class="md-toc-link">
            <p>delAngleMeasurementById(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#addannotationmarkerhtmllabelhtmlvalues" class="md-toc-link">
            <p>addAnnotation(markerHTML,labelHTML,values)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#createannotationwithworldposidentityworldpos" class="md-toc-link">
            <p>createAnnotationWithWorldPos(id,entity,worldPos)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#enableclickannotation" class="md-toc-link">
            <p>enableClickAnnotation()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#disableclickannotationid" class="md-toc-link">
            <p>disableClickAnnotation(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#destroyannotationbyidid" class="md-toc-link">
            <p>destroyAnnotationById(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setannotationvisibilityidisshow" class="md-toc-link">
            <p>setAnnotationVisibility(id,isShow)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#clearallannotations" class="md-toc-link">
            <p>clearAllAnnotations()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getcenterworldposid" class="md-toc-link">
            <p>getCenterWorldpos(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsolidsboundingid" class="md-toc-link">
            <p>getSolidsBounding(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#settoolbarvisibleisshow" class="md-toc-link">
            <p>setToolbarVisible(isShow)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#settreevisibleisshow" class="md-toc-link">
            <p>setTreeVisible(isShow)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#settoolbarvistoolbaroption" class="md-toc-link">
            <p>setToolbarVis(toolbarOption)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#gettoolbar" class="md-toc-link">
            <p>getToolbar()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsnapshotparams" class="md-toc-link">
            <p>getSnapshot(params)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getstoreyids" class="md-toc-link">
            <p>getStoreyIds()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#buildstoreymapstoreydivstoreyid" class="md-toc-link">
            <p>buildStoreyMap(storeyDiv,storeyId)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#toggleprojectionmodeprojectiondone" class="md-toc-link">
            <p>toggleProjectionMode(projection,done)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#showoperatehandleidoption" class="md-toc-link">
            <p>showOperateHandle(id,option)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidrotateidoptions" class="md-toc-link">
            <p>setSolidRotate(id,options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidtranslationwithdistanceidoptions" class="md-toc-link">
            <p>setSolidTranslationWithDistance(id,options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidtranslationwithpoint3idpoint3" class="md-toc-link">
            <p>setSolidTranslationWithPoint3(id,point3)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidscaleidscalenumber" class="md-toc-link">
            <p>setSolidScale(id,scaleNumber)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#unsetsolidstatusid" class="md-toc-link">
            <p>unsetSolidStatus(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsolidstatusid" class="md-toc-link">
            <p>getSolidStatus(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsolidstatusidstatus" class="md-toc-link">
            <p>setSolidStatus(id,status)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getsolidtypeid" class="md-toc-link">
            <p>getSolidType(id)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#seteventlistenereventtypecallback" class="md-toc-link">
            <p>setEventListener(eventType,callback)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setkeyboardwalkenabledisenabled" class="md-toc-link">
            <p>setKeyboardWalkEnabled(isEnabled)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setmousewalkenabledisenabled" class="md-toc-link">
            <p>setMouseWalkEnabled(isEnabled)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#activerouteroampositionsoption" class="md-toc-link">
            <p>activeRouteRoam(positions,option)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#playromaroma" class="md-toc-link">
            <p>playRoma(roma)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#stopromaroma" class="md-toc-link">
            <p>stopRoma(roma)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#forbidselectidsispickable" class="md-toc-link">
            <p>forbidSelect(ids,isPickable)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#getstatistics" class="md-toc-link">
            <p>getStatistics()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#createsectionplanesoptions" class="md-toc-link">
            <p>createSectionPlanes(options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#destroysectionplanesectionplaneobj" class="md-toc-link">
            <p>destroySectionPlane(sectionPlaneObj)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setobjectsxrayedidsisxrayed" class="md-toc-link">
            <p>setObjectsXRayed(ids,isXRayed)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setsaoenableenable" class="md-toc-link">
            <p>setSAOEnable(enable)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#clearlights" class="md-toc-link">
            <p>clearLights()</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#addlighttype" class="md-toc-link">
            <p>addlight(type)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#removelightlight" class="md-toc-link">
            <p>removeLight(light)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#updatelightlightoptions" class="md-toc-link">
            <p>updateLight(light,options)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#moveobjectobjectiddirdone" class="md-toc-link">
            <p>moveObject(objectId,dir,done)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#setdrawingtype" class="md-toc-link">
            <p>setDrawing(type)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#acactivationdrawingdrawinstance" class="md-toc-link">
            <p>acactivationDrawing(drawInstance)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#deactivedrawingdrawinstance" class="md-toc-link">
            <p>deactiveDrawing(drawInstance)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:18px">
          <a href="#deletedrawingdrawinstance" class="md-toc-link">
            <p>deleteDrawing(drawInstance)</p>

          </a></div>
</div>
</div>
      <a id="sidebar-toc-btn">&#x2261;</a>
    
    
    
    
    
    
    
    
<script>
document.body.setAttribute('html-show-sidebar-toc', true)
var sidebarTOCBtn = document.getElementById('sidebar-toc-btn')
sidebarTOCBtn.addEventListener('click', function(event) {
  event.stopPropagation()
  if (document.body.hasAttribute('html-show-sidebar-toc')) {
    document.body.removeAttribute('html-show-sidebar-toc')
  } else {
    document.body.setAttribute('html-show-sidebar-toc', true)
  }
})
</script>
      
  
    </body></html>